Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
C++
1) Algorithm
2) Basics
3) Bitset
4) Class
5) Console
6) Data Structure
7) Data Type
8) Deque
9) Development
10) File
11) Function
12) Generic
13) Language
14) List
15) Map Multimap
16) Overload
17) Pointer
18) Qt
19) Queue Stack
20) Set Multiset
21) String
22) Valarray
23) Vector
Development
1) A simple example that uses typeid
2) A trycatch can be inside a function other than main()
3) An example that uses reinterpret_cast
4) An example that uses typeid for base and derived classes
5) An example that uses typeid on a polymorphic class hierarchy
6) An exception can be thrown from outside the try block
7) Bad_alloc standard exception
8) Catch exception
9) Const_cast Demo
10) Cout
11) Delete memory allocate for objects
12) Demonstrate == and != relative to typeid
13) Demonstrate const_cast
14) Demonstrate dynamic_cast
15) Demonstrate runtime type id
16) Demonstrate some escape sequences
17) Demonstrates const_cast
18) Demonstrating new throwing bad_alloc when memory is not allocated
19) Demonstrating run-time type id
20) Different types of exceptions can be caught
21) Handle exceptions thrown by new
22) Here is a simple example that uses typeid
23) Make current mutable
24) Matching Any Exception
25) No Exception Handling
26) Output a time value with ctime
27) Output command line arguments
28) Output tab
29) Outputs 20 random numbers from 1 to 100
30) Outputs the program name including the path, command line arguments and the environment
31) Overload date() for time_t
32) Printing values in DEBUG mode
33) Rand function
34) Random by time
35) Restricting function throw types
36) Rethrowing an Exception
37) Terminate Handler
38) Throw and catch an exception inside a function
39) Typeid Can Be Applied to Template Classes
40) Typeid for polymorphic class
41) Use a reference with typeid
42) Use const_cast on a const reference
43) Use dynamic_cast to replace typeid
44) Use new operator to allocate memory for object
45) Use static_cast
46) Use system time
47) Uses catch( ) to catch all exceptions
48) Using #define
49) Using command-line arguments
50) Using ctime() to get the current time